package com.zhiyou100.demo.Mapper;

import com.zhiyou100.demo.model.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 * @Author: suzhinan
 * @CreateTime: 2019-11-19 09:37
 * @Description:
 */

public interface UserMapper extends CrudRepository<UserInfo,Long>{

    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
}
